package com.pearadmin.pro.modules.sys.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearadmin.pro.common.security.subject.CustomUserDetails;

import java.io.Serializable;
import java.util.Date;

/**
 * Describe: 用户领域模型
 * Author: 就 眠 仪 式
 * CreateTime: 2019/10/23
 * */
@TableName(value="sys_user")
public class SysUser extends CustomUserDetails implements Serializable {

    @TableField(value="real_name")
    private String realName;

    @TableField(value="birthday")
    private Date birthday;

    @TableField(value="avatar")
    private String avatar;

    @TableField(value="sex")
    private Integer sex;

    @TableField(value="email")
    private String email;

    @TableField(value="phone")
    private String phone;

    @TableField(value="del_flag")
    private Integer delFlag;

}
